/**
 *
 * User: Zhikang.Peng
 * Date: 2018/04/12 15:02
 */
package base

import "gitee.com/thghh/jvmgo/rtda"

func Branch(frame *rtda.Frame, offset int) {
	pc := frame.Thread().GetPC()
	nextPC := pc + offset
	frame.SetNextPC(nextPC)
}
